package com.woniu.his.dms.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 病历模板目录
 * </p>
 *
 * @author ZJH
 * @since 2022-11-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dms_case_model_catalog")
public class CaseModelCatalog implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 父模板目录id
     */
    private Long parentId;

    /**
     * 层级
     */
    private Integer levelCmc;

    /**
     * 状态  ON 正常（增加时不需传入）OFF b不正常 
     */
    private String statusCaseCatalog;

    /**
     * 模板范围 个人PERSONAL 科室DEPT 全院HOSPITAL
     */
    private String scope;

    /**
     * 所属人Id
     */
    private Long ownId;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 目录名
     */
    private String catalogName;


}
